package com.ge.pp;

public class Case {
	public int id;
	public int patientid;
	public String name;
	public boolean referred;
	
	public Case(int _id, int _patientid, String _name) {
		id = _id;
		patientid = _patientid;
		name = _name;
		referred = false;
	}
	
	public String toString() {
		if(!referred)
			return name+" ("+id+")";
		else
			return "Referral: "+name+" ("+id+")";
	}
}
